import java.util.Scanner;

public class Test3 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入月份：");
        int month = scanner.nextInt();
        String season = "季节";
        if(month>=1&&month<=12){
            switch (month){
                case 3:
                case 4:
                case 5:
                season = "春季";

                case 6:
                case 7:
                case 8:
                season = "夏季";
                case 9:
                case 10:
                case 11:
                season = "秋季";
                case 12:
                case 1:
                case 2:
                season = "冬季";
            }
        }
        else{
            System.out.println("输入错误");
        }
        System.out.println(month+"月份是"+season);
    }
}
